package cn.ts.android.attendance;


import cn.ts.android.attendance.generator.DataBootrap;
import cn.ts.android.attendance.listener.DataPoolListener;
import cn.ts.android.attendance.listener.impl.DataPoolListenerImpl;
import cn.ts.android.attendance.model.UserDetail;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * 生成器
 *
 * 发送器
 *
 *
 *
 *
 *
 */
public class Run {



    public static void main(String agrs){


        DataBootrap dataBootrap=DataBootrap.getSingleton();


        DataPoolListener dataPoolListener=new DataPoolListenerImpl();

        List<UserDetail> userIds=new ArrayList<>();

        UserDetail userDetail1=new UserDetail(220,"思君");
        UserDetail userDetail2=new UserDetail(211,"是的");
        UserDetail userDetail3=new UserDetail(222,"sdd");

        userIds.add(userDetail1);
        userIds.add(userDetail2);
        userIds.add(userDetail3);



        DataBootrap dataBootrap2x= dataBootrap.init(20000, dataPoolListener,userIds);


         dataBootrap2x.init10Data();



    }


}
